package com.pet.platform.common;

public class Constants {
    // 通用状态
    public static final int STATUS_NORMAL = 1;
    public static final int STATUS_DISABLED = 0;

    // 用户角色
    public static final String ROLE_USER = "USER";
    public static final String ROLE_ADMIN = "ADMIN";

    // 宠物领养状态
    public static final String PET_STATUS_AVAILABLE = "AVAILABLE";
    public static final String PET_STATUS_ADOPTED = "ADOPTED";

    // 预约状态
    public static final String APPOINTMENT_STATUS_PENDING = "PENDING";
    public static final String APPOINTMENT_STATUS_CONFIRMED = "CONFIRMED";
    public static final String APPOINTMENT_STATUS_COMPLETED = "COMPLETED";
    public static final String APPOINTMENT_STATUS_CANCELLED = "CANCELLED";

    // 订单状态
    public static final String ORDER_STATUS_PENDING = "PENDING";
    public static final String ORDER_STATUS_PAID = "PAID";
    public static final String ORDER_STATUS_SHIPPED = "SHIPPED";
    public static final String ORDER_STATUS_COMPLETED = "COMPLETED";
    public static final String ORDER_STATUS_CANCELLED = "CANCELLED";

    // JWT配置
    public static final String JWT_TOKEN_HEADER = "Authorization";
    public static final String JWT_TOKEN_PREFIX = "Bearer ";
    public static final String JWT_HEADER_STRING = "Authorization";
    public static final long JWT_EXPIRATION = 86400000L; // 24小时
} 